package com.hfkh.keyun.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

@Getter
@Setter
@NoArgsConstructor
@TableName("tb_user")
public class User implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;//id
    private String openid;//用户唯一标识
    private String phoneNumber;//手机号码
    private String password;//密码
    private String avatarUrl;//头像地址
    private String nickname;//用户昵称
    private Integer userStatus;//用户状态
    private Integer visitCount;//访问次数
    private LocalDateTime createDate;//创建时间

}
